package com.igeekhome.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FFinancialStatementsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFinancialStatementsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andWaybillIdIsNull() {
            addCriterion("waybill_id is null");
            return (Criteria) this;
        }

        public Criteria andWaybillIdIsNotNull() {
            addCriterion("waybill_id is not null");
            return (Criteria) this;
        }

        public Criteria andWaybillIdEqualTo(Integer value) {
            addCriterion("waybill_id =", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdNotEqualTo(Integer value) {
            addCriterion("waybill_id <>", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdGreaterThan(Integer value) {
            addCriterion("waybill_id >", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("waybill_id >=", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdLessThan(Integer value) {
            addCriterion("waybill_id <", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdLessThanOrEqualTo(Integer value) {
            addCriterion("waybill_id <=", value, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdIn(List<Integer> values) {
            addCriterion("waybill_id in", values, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdNotIn(List<Integer> values) {
            addCriterion("waybill_id not in", values, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdBetween(Integer value1, Integer value2) {
            addCriterion("waybill_id between", value1, value2, "waybillId");
            return (Criteria) this;
        }

        public Criteria andWaybillIdNotBetween(Integer value1, Integer value2) {
            addCriterion("waybill_id not between", value1, value2, "waybillId");
            return (Criteria) this;
        }

        public Criteria andTransferChargeIsNull() {
            addCriterion("transfer_charge is null");
            return (Criteria) this;
        }

        public Criteria andTransferChargeIsNotNull() {
            addCriterion("transfer_charge is not null");
            return (Criteria) this;
        }

        public Criteria andTransferChargeEqualTo(BigDecimal value) {
            addCriterion("transfer_charge =", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeNotEqualTo(BigDecimal value) {
            addCriterion("transfer_charge <>", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeGreaterThan(BigDecimal value) {
            addCriterion("transfer_charge >", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("transfer_charge >=", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeLessThan(BigDecimal value) {
            addCriterion("transfer_charge <", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("transfer_charge <=", value, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeIn(List<BigDecimal> values) {
            addCriterion("transfer_charge in", values, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeNotIn(List<BigDecimal> values) {
            addCriterion("transfer_charge not in", values, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("transfer_charge between", value1, value2, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andTransferChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("transfer_charge not between", value1, value2, "transferCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeIsNull() {
            addCriterion("delivery_charge is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeIsNotNull() {
            addCriterion("delivery_charge is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeEqualTo(BigDecimal value) {
            addCriterion("delivery_charge =", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeNotEqualTo(BigDecimal value) {
            addCriterion("delivery_charge <>", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeGreaterThan(BigDecimal value) {
            addCriterion("delivery_charge >", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("delivery_charge >=", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeLessThan(BigDecimal value) {
            addCriterion("delivery_charge <", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("delivery_charge <=", value, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeIn(List<BigDecimal> values) {
            addCriterion("delivery_charge in", values, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeNotIn(List<BigDecimal> values) {
            addCriterion("delivery_charge not in", values, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("delivery_charge between", value1, value2, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andDeliveryChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("delivery_charge not between", value1, value2, "deliveryCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeIsNull() {
            addCriterion("scan_charge is null");
            return (Criteria) this;
        }

        public Criteria andScanChargeIsNotNull() {
            addCriterion("scan_charge is not null");
            return (Criteria) this;
        }

        public Criteria andScanChargeEqualTo(BigDecimal value) {
            addCriterion("scan_charge =", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeNotEqualTo(BigDecimal value) {
            addCriterion("scan_charge <>", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeGreaterThan(BigDecimal value) {
            addCriterion("scan_charge >", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("scan_charge >=", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeLessThan(BigDecimal value) {
            addCriterion("scan_charge <", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("scan_charge <=", value, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeIn(List<BigDecimal> values) {
            addCriterion("scan_charge in", values, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeNotIn(List<BigDecimal> values) {
            addCriterion("scan_charge not in", values, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("scan_charge between", value1, value2, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andScanChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("scan_charge not between", value1, value2, "scanCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeIsNull() {
            addCriterion("other_charge is null");
            return (Criteria) this;
        }

        public Criteria andOtherChargeIsNotNull() {
            addCriterion("other_charge is not null");
            return (Criteria) this;
        }

        public Criteria andOtherChargeEqualTo(BigDecimal value) {
            addCriterion("other_charge =", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeNotEqualTo(BigDecimal value) {
            addCriterion("other_charge <>", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeGreaterThan(BigDecimal value) {
            addCriterion("other_charge >", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("other_charge >=", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeLessThan(BigDecimal value) {
            addCriterion("other_charge <", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("other_charge <=", value, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeIn(List<BigDecimal> values) {
            addCriterion("other_charge in", values, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeNotIn(List<BigDecimal> values) {
            addCriterion("other_charge not in", values, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_charge between", value1, value2, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andOtherChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_charge not between", value1, value2, "otherCharge");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceIsNull() {
            addCriterion("network_balance is null");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceIsNotNull() {
            addCriterion("network_balance is not null");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceEqualTo(BigDecimal value) {
            addCriterion("network_balance =", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceNotEqualTo(BigDecimal value) {
            addCriterion("network_balance <>", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceGreaterThan(BigDecimal value) {
            addCriterion("network_balance >", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("network_balance >=", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceLessThan(BigDecimal value) {
            addCriterion("network_balance <", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("network_balance <=", value, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceIn(List<BigDecimal> values) {
            addCriterion("network_balance in", values, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceNotIn(List<BigDecimal> values) {
            addCriterion("network_balance not in", values, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("network_balance between", value1, value2, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andNetworkBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("network_balance not between", value1, value2, "networkBalance");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNull() {
            addCriterion("update_datetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNotNull() {
            addCriterion("update_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeEqualTo(Date value) {
            addCriterion("update_datetime =", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotEqualTo(Date value) {
            addCriterion("update_datetime <>", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThan(Date value) {
            addCriterion("update_datetime >", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_datetime >=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThan(Date value) {
            addCriterion("update_datetime <", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("update_datetime <=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIn(List<Date> values) {
            addCriterion("update_datetime in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotIn(List<Date> values) {
            addCriterion("update_datetime not in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeBetween(Date value1, Date value2) {
            addCriterion("update_datetime between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("update_datetime not between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}